Author: Zhengyi Peng (zpeng3@cs.brown.edu)
Working remotely is suitable for students:
You will be using Node and npm in the following assignments. If you plan to work locally, try to install a recent Node.js version compatible with your platform.
Installation page: https://nodejs.org/en/download/
We are currently using 10.15.0 in the department machine.
For every assignment, we release zipped version of the stencil .tgz
. Usually it is as a link at the assignment page. Clicking it will start automatic downloading and you can unzip it using most decompressers compatible with your platform.
For Mac, I am using The Unarchiver for this purpose.
If you have tar in your terminal, you can use
$ which tar "<<< If you have tar, the next line will be a filepath"
/usr/bin/tar
$ tar -C "put your output directory here" -xzf "put the filepath to the downloaded .tgz file here"
We suggest you
[On Department Machine] run the cs132_install
script (which will create directory at /gpfs/data/course/cs1320/"your login"/"asgn name"
Note that you need to run cs132_install "coursework name"
for every lab / assignment so that you have a working directory at the /gpfs/data/course/cs1320
. The handin script will only copy your files in the /gpfs/data
directory.
[On Your Local Machine] overwrite the files in department machine with files in your local machine. You can use
scp -r * "your cs login"@ssh.cs.brown.edu:/gpfs/data/course/cs1320/"your cs login"/"assignment name"/
scp * "your cs login"@ssh.cs.brown.edu:/gpfs/data/course/cs1320/"your cs login"/"assignment name"/
[On Department Machine] Run the cs132_handin "coursework name"
script.
This script can be run from any directory, but it will only look for files at /gpfs/data/
.
We prefer you to handin through cs132_handin
so that you will see what files you have handed in and will receive an confirmation email. If somehow the handin script is not working, you can email your handin to the HTA email.
Feel free to come to my or any other TA's hour to do setup for your local machine.
Thanks for reading > _ <